<?php
defined('IN_ADMIN') or exit('No permission resources.');
$show_validator = $show_scroll = $show_dialog = 1;
include $this->admin_tpl('header', 'admin');
?>
<h3 style="padding-left: 20px;padding-top: 10px">
<?php echo $info['nickname']?$info['nickname'].'——':''?>用户详细信息
<a href="javascript:history.back(-1);" style="font-size:14px;color: #0000FF"><em>返回用户列表</em></a>
</h3>
	<div class="pad-10">
			<div class="contentList pad-10">
				<table width="100%" class="table_form ">
					<tbody>
						<tr>
							<th width="200"><?php echo L('nickname')?>：</th>
							<td><?php if(!empty($info['nickname'])){echo $info['nickname'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('realname')?>：</th>
							<td><?php if(!empty($info['realname'])){echo $info['realname'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('photo_url')?>：</th>
							<td><?php if(!empty($info['photo_url'])){echo "<img src='".$info['photo_url']."' width='80px'>";}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('gender')?>：</th>
							<td><?php if($info['gender'] == '1'){echo '男';}elseif($info['gender'] == '2'){echo '女';}elseif($info['gender'] == '3'){echo '保密';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('birthday')?>：</th>
							<td><?php if(!empty($info['birthday'])){echo $info['birthday'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('tel')?>：</th>
							<td><?php if(!empty($info['tel'])){echo $info['tel'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('introduction')?>：</th>
							<td><?php if(!empty($info['introduction'])){echo $info['introduction'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('is_authentication')?>：</th>
							<td><?php if($info['is_authentication'] == '0'){echo '<b>否</b>';}elseif($info['is_authentication'] == '1'){echo '<b>是</b>';}else{echo '<font color="red">(暂未设置)</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('fans_count')?>：</th>
							<td><?php if(!empty($info['fans_count'])){echo $info['fans_count'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('follow_count')?>：</th>
							<td><?php if(!empty($info['follow_count'])){echo $info['follow_count'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('create_time')?>：</th>
							<td><?php if(!empty($info['create_time'])){echo $info['create_time'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('wechat_id')?>：</th>
							<td><?php if(!empty($info['wechat_id'])){echo $info['wechat_id'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('qq_id')?>：</th>
							<td><?php if(!empty($info['qq_id'])){echo $info['qq_id'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('weibo_id')?>：</th>
							<td><?php if(!empty($info['weibo_id'])){echo $info['weibo_id'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('wechat_open_id')?>：</th>
							<td><?php if(!empty($info['wechat_open_id'])){echo $info['wechat_open_id'];}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('type')?>：</th>
							<td><?php if($info['type'] == '1'){echo '普通用户';}elseif($info['type'] == '2'){echo '模特';}elseif($info['type'] == '3'){echo '经纪人';}elseif($info['type'] == '4'){echo '商户';}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
						<tr>
							<th width="200"><?php echo L('authentication_status')?>：</th>
							<td><?php if($info['authentication_status'] == '1'){echo '待审核';}elseif($info['authentication_status'] == '2'){echo '通过';}elseif($info['authentication_status'] == '3'){echo '驳回';}elseif($info['authentication_status'] == '0'){echo '无操作';}else{echo '<font color="red">（未设置）</font>';}?></td>
						</tr>
					</tbody>
				</table>
			</div>
</div>
</body>
</html>
<script type="text/javascript">

function SwapTab(name,cls_show,cls_hide,cnt,cur){
	for(i=1;i<=cnt;i++){
		if(i==cur){
			 $('#div_'+name+'_'+i).show();
			 $('#tab_'+name+'_'+i).attr('class',cls_show);
		}else{
			 $('#div_'+name+'_'+i).hide();
			 $('#tab_'+name+'_'+i).attr('class',cls_hide);
		}
	}
}
</script>